package com.kyzh.core.adapters

import android.widget.ImageView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.gushenge.atools.util.setWidth
import com.kyzh.core.R
import com.kyzh.core.utils.ViewUtils.dp
import com.kyzh.core.utils.loadImage
class GameDetailBannerAdapter1(var bean:ArrayList<String>?):BaseQuickAdapter<String,
        BaseViewHolder>
    (R.layout.game_detail_banner_item2,
    bean) {
    override fun convert(helper: BaseViewHolder, item: String) {
        val view = helper.getView<ImageView>(R.id.image)
        view.setWidth(126.dp)
        view.loadImage(item)


    }
}
